<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>

                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <select class="custom-select"
                                    v-model="govOldPersonManageInfo.conditions.govCommunityId">
                                    <option selected disabled value="">请选择所属养老院</option>
                                    <option v-for="(item,index) in govOldPersonManageInfo.govCommunitys"
                                        :value="item.govCommunityId">
                                        {{item.communityName}}</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" placeholder="请输入姓名"
                                    v-model="govOldPersonManageInfo.conditions.personName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入电话"
                                    v-model="govOldPersonManageInfo.conditions.personTel" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <select class="custom-select"
                                    v-model="govOldPersonManageInfo.conditions.typeId">
                                    <option selected disabled value="">请选择老人类型</option>
                                    <option v-for="(item,index) in govOldPersonManageInfo.govOldPersonTypes"
                                        :value="item.typeId">
                                        {{item.typeName}}</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input v-model="govOldPersonManageInfo.conditions.birthday" type="text"
                                class="form-control qBirthday">
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_queryGovOldPersonMethod()">
                                <i class="glyphicon glyphicon-search"></i> 查询
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>本月生日老人信息</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openGovOldPersonBirth()">
                            <i class="glyphicon glyphicon-plus"></i>
                            记录管理
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">老年人ID</th>
                                <th class="text-center">养老院</th>
                                <th class="text-center">姓名</th>
                                <th class="text-center">电话</th>
                                <th class="text-center">年龄</th>
                                <th class="text-center">家人联系人</th>
                                <th class="text-center">家人联系电话</th>
                                <th class="text-center">服务人</th>
                                <th class="text-center">服务人电话</th>
                                <th class="text-center">老人类型</th>
                                <th class="text-center">操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="govOldPerson in govOldPersonManageInfo.govOldPersons">
                                <td class="text-center">{{govOldPerson.oldId}}</td>
                                <td class="text-center">{{govOldPerson.communityName}}</td>
                                <td class="text-center">{{govOldPerson.personName}}</td>
                                <td class="text-center">{{govOldPerson.personTel}}</td>
                                <td class="text-center">{{govOldPerson.personAge}}</td>
                                <td class="text-center">{{govOldPerson.contactPerson}}</td>
                                <td class="text-center">{{govOldPerson.contactTel}}</td>
                                <td class="text-center">{{govOldPerson.servPerson}}</td>
                                <td class="text-center">{{govOldPerson.servTel}}</td>
                                <td class="text-center">{{govOldPerson.typeName}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_toUserProfile(govOldPerson)">查看</button>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>



    <vc:create path="gov/addGovOldPerson" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="gov/editGovOldPerson"></vc:create>
    <vc:create path="gov/deleteGovOldPerson"></vc:create>
    <vc:create path="gov/chooseGovHealth" emitChooseGovHealth="chooseGovHealth" emitLoadData="leadData"></vc:create>
</div>